﻿// --------------------------------
// <copyright file="Product.cs" company="OpenTicket">
//     Microsoft Public License (Ms-PL)
// </copyright>
// <author>Glenn</author>
// ---------------------------------
using System.ComponentModel.DataAnnotations;

namespace OpenTicket.Model
{
    /// <summary>
    /// POCO for Product
    /// </summary>
    public class Product
    {
        /// <summary>
        /// Gets or sets the product cost.
        /// </summary>
        /// <value>The product cost.</value>
        public int ProductCost { get; set; }

        /// <summary>
        /// Gets or sets the product code.
        /// </summary>
        /// <value>The product code.</value>
        [Key]
        public string ProductCode { get; set; }

        /// <summary>
        /// Gets or sets the name of the product.
        /// </summary>
        /// <value>The name of the product.</value>
        public string ProductName { get; set; }
    }
}
